﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Portfolio.Entities;

namespace Portfolio.Repository.Interfaces
{
    public interface IArticlesRepository
    {        
        ArtilcesGridV GetArticleByIdArticle(int articleID);
        List<ArtilcesGridV> GetArticleBySearch(string title, int? categoryID, int? status, bool? active);
        void UpdateArticle(ArticleT Article);
        void DeleteArticle(ArticleT article);
        int InsertArticle(ArticleT article);
    }
}
